var assert = require('assert');
var should = require('should');
var util = require('util');
var _ = require('lodash');
var pvpModel = require('../../app/models/pvpModel');
var config = require('../config');

suite('测试pvpModel', function () {
    var pvp_model;
    setup(function (done) {
        pvpModel.getByRoleId(config.role_id, function (err, model) {
            assert.equal(err == null, true);
            pvp_model = model;
            pvp_model.toJSON();
            done();
        });
    });

    suite('getRoadBoss', function () {
        test('获取boss点', function () {
            pvp_model.getRoadBoss(100);
        });
    });
});
